package com.hl.card.credit.pub.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hl.card.credit.pub.dao.AbstractDao;
import com.hl.card.credit.pub.dao.PublicOftenPCardInfoDao;
import com.hl.card.credit.pub.entity.PublicOftenPCardInfo;
import com.hl.card.credit.pub.model.PublicOftenPCardInfoModel;

//@Service
public class PublicOftenPCardInfoService extends
		AbstractService<PublicOftenPCardInfo, Integer> {

//	@Autowired
	private PublicOftenPCardInfoDao<PublicOftenPCardInfo, Integer> dao;

	@Override
	protected AbstractDao<PublicOftenPCardInfo, Integer> getDao() {
		return dao;
	}
	
	/**
	 * 
	    * @Title: queryOftenPCardInfoList
	    * @Description: TODO(根据常旅客信息查询常旅客卡信息)
	    * @param @param publicOftenPCardInfo
	    * @param @return    参数
	    * @return List<PublicOftenPCardInfo>    返回类型
	    * @throws
	 */
	public List<PublicOftenPCardInfo> queryOftenPCardInfoList(
			PublicOftenPCardInfoModel publicOftenPCardInfoModel){
		return dao.queryOftenPCardInfoList(publicOftenPCardInfoModel);
	}

}
